[INFO] cloning repository https://github.com/danielq987/minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielq987/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c21b6b240e9e21dfed871e373b8e66f1e59926bb
[INFO] checking danielq987/minigrep against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielq987%2Fminigrep" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/danielq987/minigrep
[INFO] finished tweaking git repo https://github.com/danielq987/minigrep
[INFO] tweaked toml for git repo https://github.com/danielq987/minigrep written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/danielq987/minigrep on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/danielq987/minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6566dc71dc14aa85aece376a3beedd26aac2e4f7111267cbc4c6c654b90d4b58
[INFO] running `Command { std: "docker" "start" "-a" "6566dc71dc14aa85aece376a3beedd26aac2e4f7111267cbc4c6c654b90d4b58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6566dc71dc14aa85aece376a3beedd26aac2e4f7111267cbc4c6c654b90d4b58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6566dc71dc14aa85aece376a3beedd26aac2e4f7111267cbc4c6c654b90d4b58", kill_on_drop: false }`
[INFO] [stdout] 6566dc71dc14aa85aece376a3beedd26aac2e4f7111267cbc4c6c654b90d4b58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e08d286226e8ff935341154724ffcf76898210fa9f31482d7395a8e201c0b24d
[INFO] running `Command { std: "docker" "start" "-a" "e08d286226e8ff935341154724ffcf76898210fa9f31482d7395a8e201c0b24d", kill_on_drop: false }`
[INFO] [stderr]     Checking minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `minigrep` (lib) due to 1 previous error
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let c: &str = &contents.to_lowercase();
[INFO] [stdout]    |                    ----------------------- temporary value created here
[INFO] [stdout] ...
[INFO] [stdout] 32 |     matched_strings
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:107:55
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(vec!["duct three.", "Duct tape."], search(query, contents));
[INFO] [stdout]     |                                                       ^^^^^^----------------- argument #3 of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub fn search<'a>(query: &str, contents: &'a str, case_sensitive: bool) -> Vec<&'a str> {
[INFO] [stdout]     |        ^^^^^^                                     --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(vec!["duct three.", "Duct tape."], search(query, contents, /* bool */));
[INFO] [stdout]     |                                                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:117:53
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_eq!(vec!["safe, fast, productive."], search(query, contents));
[INFO] [stdout]     |                                                     ^^^^^^----------------- argument #3 of type `bool` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:13:8
[INFO] [stdout]     |
[INFO] [stdout] 13  | pub fn search<'a>(query: &str, contents: &'a str, case_sensitive: bool) -> Vec<&'a str> {
[INFO] [stdout]     |        ^^^^^^                                     --------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_eq!(vec!["safe, fast, productive."], search(query, contents, /* bool */));
[INFO] [stdout]     |                                                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let c: &str = &contents.to_lowercase();
[INFO] [stdout]    |                    ----------------------- temporary value created here
[INFO] [stdout] ...
[INFO] [stdout] 32 |     matched_strings
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "e08d286226e8ff935341154724ffcf76898210fa9f31482d7395a8e201c0b24d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e08d286226e8ff935341154724ffcf76898210fa9f31482d7395a8e201c0b24d", kill_on_drop: false }`
[INFO] [stdout] e08d286226e8ff935341154724ffcf76898210fa9f31482d7395a8e201c0b24d
